/* styles.css */
body {
    font-family: fredoka;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    background: url(bg.jpg);
    background-size: cover;
    background-position: center;
}

h1 {
    direction: rtl;
}

.ui-msg {
    padding-top: 40px;
}

.ui-input-type {
    width: 20%;
    height: 80px;
    border-radius: 15px;
    border: 1px solid #ccc;
    font-size: 45px;
    color: #999;
    text-align: center;
    font-family: fredoka;
    font-weight: 200;
}

.ui-phoneForm {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.ui-form {
    width: 100%;
}

.poll-container {
    padding: 20px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.poll-question {
    font-size: 1.5em;
    margin-bottom: 20px;
}

button.start-button {
    width: 50%;
    padding: 10px;
    border-radius: 25px;
    border: none;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.06);
    font-family: fredoka;
    font-size: 18px;
    background: #05bbe2;
    color: #fff;
}

input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 5px;
}

.submit-button {
    width: 50%;
    padding: 10px;
    border-radius: 25px;
    border: none;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.06);
    font-family: fredoka;
    font-size: 18px;
    background: #05bbe2;
    color: #fff;
    transition: background-color 0.3s;
}

.action-buttons {
    padding-top: 50px;
}

button.next-button {
    width: 50%;
    padding: 10px;
    border-radius: 25px;
    border: none;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.06);
    font-family: fredoka;
    font-size: 18px;
    background: #05bbe2;
    color: #fff;
}

p {
    direction: rtl;
}

.navigation {
    margin: 0 auto;
    position: fixed;
    bottom: 0;
    padding-bottom: 20px;

}

h2.ui-question-h2 {
    font-size: 25px;
    font-weight: 600;
    direction: rtl;
    letter-spacing: -0.05em;
}

form.poll-form {
    direction: rtl;
    text-align: right;
}

h1.ui-question {
    font-size: 18px;
    font-family: fredoka;
    color: #05bbe2;
}

.poll-form .rating.score-only button {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: #fff;
    text-align: center;
    font-size: 1.2em;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    border: none;
}

span {
    font-size: 18px;
    position: relative;
    top: -3px;
}

.poll-form .rating.score-only button:hover {
    background-color: #05bbe2;
    color: #ffffff;
}

.rating.score-only {
    display: flex;
    margin: 0 auto;
    width: 90%;
    justify-content: center;
}



/* Responsive */
@media (max-width: 600px) {
    .poll-container {
        width: 90%;
        padding: 10px;
        margin-top: 150px;
    }

    button.nav-button {
        background: transparent;
        border: none;
    }

}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 25px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}